package com.example.demo.service;

import com.example.demo.pojo.Rule;
import java.util.List;

public interface RuleService {
    void saveRule(Rule rule);
    void deleteRule(Integer id);
    void updateRule(Rule rule);
    List<Rule> getAllRules();
}